package com.dsy.xiangcun_index.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dsy.tools.common.utils.QueryObj;
import com.dsy.tools.entity.TbHistory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dsy
 * @since 2023-02-28
 */
public interface ITbHistoryService extends IService<TbHistory> {
    IPage<TbHistory> getAllHistory(long page, long limit, QueryWrapper<QueryObj> wrapper);

    TbHistory getHistoryById(Integer historyId);

    List<TbHistory> getIndexHistoryList();
}
